let express=require('express');
let router = express.Router();
console.log(__dirname)
let user=require('./admin/user.js');
let product=require('./admin/product.js');
let login=require('./admin/login.js');

router.use('/user',user)
router.use('/product',product)
router.use('/login',login)

router.get('/',function(req,res,next){
    res.send('管理页面')
})

module.exports=router